//package cn.mg.framework.web;
//
//import org.springframework.web.bind.annotation.*;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import javax.servlet.http.HttpSession;
//
///**
// * @author hezhaoming
// * @date 2019-10-31
// */
//public class BaseController {
//    protected HttpServletRequest request;
//
//    protected HttpServletResponse response;
//
//    protected HttpSession session;
//
//    @ModelAttribute
//    public void setReqAndRes(HttpServletRequest request, HttpServletResponse response) {
//        this.request = request;
//        this.response = response;
//        this.session = request.getSession();
//    }
//}
